package ingsw2.functionality;

public class Office extends CompositeOrganisationalUnit {

	private int number;
	
	public Office(int number){
		this.number = number;
	}
	
	/**
	 * @return the number
	 */
	public int getNumber() {
		return number;
	}

	@Override
	public void accept(IElementVisitor visitor) {
		visitor.visitOffice(this);
		super.accept(visitor);
	}

}
